Hello guys,
I am currently bulding a Tomcat Server working with JSF.
I am trying to understand the difference between <servlet-mapping>
and <context-param> <param-name>javax.faces.DEFAULT_SUFFIX.
Using;
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
I guess any file.faces will be interpreted as a JSF file.
I thought it was enough, but often I find in some examples:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
Why could we need this parameter ?
Thank you for helping :)
Happy new year !
Alain
